package com.dmz.workflow.constant;

/**
 * 节点状态常量类
 */
public interface ProcessConstants {

    /**
     * 流程状态：0 待审核，1:通过，2:拒绝 3:撤销
     */
    Integer PROCESS_APPROVING_STATUS = 0;
    Integer PROCESS_APPROVED_STATUS = 1;
    Integer PROCESS_REFUSE_STATUS = 2;
    Integer PROCESS_REVOCATION_STATUS = 3;
    Integer NODE_NOT_ARRIVE_STATUS = 0;
    Integer NODE_ARRIVE_STATUS = 1;
    Integer NODE_ARRIVED_STATUS = 2;

    /**
     * 状态：0 待审核，1:通过，2:拒绝，3:转交，4:前加签，5：后加签，6：委托，7：退回 8:撤销
     */
    Integer PERSON_APPROVING_STATUS = 0;
    Integer PERSON_APPROVED_STATUS = 1;
    Integer PERSON_REFUSE_STATUS = 2;
    Integer PERSON_TRANSFER_STATUS = 3;
    Integer PERSON_ADD_FRONT_SIGN_STATUS = 4;
    Integer PERSON_ADD_BACK_SIGN_STATUS = 5;
    Integer PERSON_DELEGATE_STATUS = 6;
    Integer PERSON_REJECT_STATUS = 7;
    Integer PERSON_REPEAL_STATUS = 8;

    Integer ATTACHMENT_BELONG_TO_COMMENT = 1;
    Integer ATTACHMENT_BELONG_TO_APPROVAL = 2;
    /**
     * 流程实例类型 0 普通流程 1 圈层价流程
     */
    Integer PROCESS_INSTANCE_COMMON_TYPE = 0;
    Integer PROCESS_INSTANCE_CIRCLE_PRICE_TYPE = 1;
}
